<?php
// +----------------------------------------------------------------------
// | zhanshop-marketing / AdEventUploadMend.php    [ 2025/1/2 13:14 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2025 zhangqiquan All rights reserved.
// +----------------------------------------------------------------------
// | Author: zhangqiquan <768617998@qq.com>
// +----------------------------------------------------------------------
declare (strict_types=1);

namespace app\crontab;

use app\task\AdReportTask;
use zhanshop\App;
use zhanshop\Crontab;

class AdEventUploadMend extends Crontab
{
    public function configure()
    {
        $this->setTitle("广告事件上传检查")->interval(3600);
    }

    public function execute()
    {
        App::task(AdReportTask::class)->uploadMend();
    }
}